<template>
    <van-address-list v-model="chosenAddressId" :list="list" :disabled-list="disabledList" @add="onAdd" @edit="onEdit"
        add-button-text="去支付">

        <van-cell-group>
            <van-cell title="优惠券" value="无" />
            <van-cell title="商品名称" value="电视电子清洗剂" />
            <van-cell title="收货地址" value="北京市" />
            <van-cell title="运费" value="￥28.30" />
        </van-cell-group>
    </van-address-list>
</template>

<script setup>
import { ref } from 'vue';
const chosenAddressId = ref('1');
const list = [
    {
        id: '1',
        name: '张三',
        tel: '13000000000',
        address: '浙江省杭州市西湖区文三路 138 号东方通信大厦 7 楼 501 室',
        isDefault: true,
    }
];
</script>

<style lang="scss" scoped></style>